<?php

class xmlFile{
	private $fContent;
	
	public function __construct($fileName){
		$this->fContent = simplexml_load_file($fileName);
	}
	
	public function GetRecord($recName){
		return $this->fContent->$recName;
	}
}
 
?>